<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        img{
            width: 50px;
            height: 50px;
            position: absolute;
        }
    </style>
</head>
<body>
<script src="../js/jquery-1.4.2.js"></script>
<script>
    setInterval(function () {
        let img=$('<img src="sky.jpeg">')
        let top =parseInt(Math.random()*900)
        img.css('top',top+"px")
        $('body').append(img)
        img.animate({'left':'1500px'},1000)
        .fadeOut(1000,function () {
            img.remove()
        })
    },10)
</script>
</body>
</html>